package affd.logic;

import java.util.ArrayList;

/**
 * A Anonymizer is a interface to anonymize document text data.
 * 
 * @author Joteitti joteitti@cc.hut.fi
 *
 */
public interface Anonymizer {
	
	public static final String ANONYMIZED_LETTER = "X";

	/**
	 * Anonymizes text data.
	 * 
	 * @throws LogicException
	 */
	public void process(ArrayList<Sentence> sentences) throws LogicException;
	
	/**
	 * Anonymizes the specified token.
	 * 
	 * @param token Token to be anonymized.
	 */
	public void anonymize(Token token);
	
}
